package t327.service.iter;

import t327.pojo.*;
import t327.pojo.font.MaterialsAddWareHouseFont;
import t327.pojo.MaterialStoreRel;
import t327.pojo.Materials;
import t327.pojo.Store;
import t327.pojo.views.MaterialStoreView;
import t327.pojo.views.SubmitOrderStyleProductMaterialsView;
import t327.pojo.views.WarehouseStoreAreaBatchView;

import java.util.HashMap;
import java.util.List;

public interface IWareHouseService {
    //查询全部
    List<WarehouseStoreAreaBatchView> queryAllWarehouseStoreAreaBatchView();
    //条件查询
    List<WarehouseStoreAreaBatchView> queryByName(String searchValue);
    //详情
    List<WarehouseStoreAreaBatchView> getAllWarehouseStoreAreaBatchView();
    //查询物料
    List<Materials> queryAllMaterials();

    //查询仓库区域
    List<StoreArea> queryAllStoreArea();
    //查询颜色
    List<Color> queryAllColor();
    //查询仓库
    List<Warehouse> queryAllWarehouse();
    //查询种类
    List<MaterialKind> queryAllMaterialKind();
    //查询规格
    List<Quality> queryAllQuality();
    //添加
    HashMap<String,String> addMaterialsAndBatch(MaterialsAddWareHouseFont materialsAddWareHouseFont);
    int addMaterials(Materials materials);
    //    物料的出库
    int addMaterialStoreRelchu(MaterialStoreRel materialStoreRel);
    int addStorechu(Store store);
    //    物料的入库
    int addMaterialStoreRelRu(MaterialStoreRel materialStoreRel);
    int addStoreRu(Store store);

    List<Materials>getAllMaterials();

    List<SubmitOrderStyleProductMaterialsView>getSubMaterialViewAll();
    int updatelMaterials(Long id);
    int updatOrderAuditStatus(Long orderId);
    HashMap<String,String> addInventory(Inventory inventory);
    HashMap<String,String> queryInventory(Long  orderId);

}
